home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / regkey22.zip / BP.H next >
C/C++ Source or Header  |  1992-12-21  |  3KB  |  46 lines

  1. /*****************************************************************************/
  2. /*                 REGISTRATION KEY SYSTEM FOR C PROGRAMMERS                 */
  3. /*                               Version 2.20                                */
  4. /*                                                                           */
  5. /*                                                                           */
  6. /*         (C) Copyright 1992, Brian Pirie. All Rights Reserved.             */
  7. /*                                                                           */
  8. /*                                                                           */
  9. /*  You are granted permission to use an unmodified version of this code     */
  10. /*  in any program, so long as your program's documentation acknowledges     */
  11. /*  the use of this code.                                                    */
  12. /*                                                                           */
  13. /*  I can be contacted at -   FidoNet : 1:243/8                              */
  14. /*                           Internet : brian@bpecomm.pinetree.org           */
  15. /*                         Data (BBS) : +1 613 526 4466                      */
  16. /*                             Postal : 1416 - 2201 Riverside Dr.            */
  17. /*                                      Ottawa, Ontario                      */
  18. /*                                      Canada                               */
  19. /*                                      K1H 8K9                              */
  20. /*                                                                           */
  21. /*  To compile a program using the bp() function, simply include this file,  */
  22. /*  and add the BP?.LIB file to your project / makefile.                     */
  23. /*****************************************************************************/
  24.  
  25.                                           /* Prototype for the bp() function */
  26. #ifdef __cplusplus
  27.  
  28.    extern "C" unsigned long bp(char *registration_string,
  29.                                unsigned int security_code);
  30.  
  31. #else
  32.  
  33.    unsigned long bp(char *registration_string,
  34.                     unsigned int security_code);
  35.  
  36. #endif
  37.  
  38. /* The bp() function returns an unsigned long integer (32 bits) registration
  39.  * key which corresponds to the string pointed to by the registration_string
  40.  * parameter. This string will usually be the name of the person who has
  41.  * registered your program. Any given program which uses the bp() function
  42.  * should pass it's own unique value in the security_code parameter. For
  43.  * more information on using this registration key system, please see the
  44.  * accompanying documentation, in the REGKEY.DOC file
  45.  */
  46.